package com.wf.course.dao;

import com.utils.page.PageBean;
import com.wf.course.model.course.CourseShare;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ICourseShareMapper {

    List<CourseShare> list(PageBean<CourseShare> pageBean);

    Integer count(PageBean<CourseShare> pageBean);

    CourseShare queryCourseShareById(@Param("id") Integer id);

    Integer deleteCourseShareById(@Param("id") Integer id);

    Integer insert(CourseShare courseShare);

    Integer update(CourseShare courseShare);
}
